<%
'****************************************************
' Joekoe CMS 1.2 Free      Power by Joekoe.com
' Email: info@asp126.com  asp126@qq.com
' Web: http://www.asp126.com , http://www.ude.com.cn
' Copyright (C) 2004 Asp126.com All Rights Reserved.
'****************************************************

sub preview_form(pfrm,pword)
%>
<form name=pre_frm action='<%=web_dim(6)%>common/preview.asp' method=post target='preview'>
<input type=hidden name=p_topic value=''>
<input type=hidden name=p_word value=''>
</form>
<script language=javascript>
<!--
function preview_type()
{
  document.pre_frm.p_word.value=document.<%response.write pfrm%>.<%response.write pword%>.value;
  open_win('about:blank','preview',600,500,'yes');
  document.pre_frm.submit();
}
-->
</script>
<%
end sub

function preview_b(pfrm,pword,pv)
  preview_b="<input type=button onclick=""javascript:preview_type('"&pfrm&"','"&pword&"');"" value='"&pv&"'>"
end function

'****************************************************
' Joekoe CMS 1.2 Free      Power by Joekoe.com
' Email: info@asp126.com  asp126@qq.com
' Web: http://www.asp126.com , http://www.ude.com.cn
' Copyright (C) 2004 Asp126.com All Rights Reserved.
'****************************************************
%>